/*
Digital Filter Optimization Project - see http://code.google.com/p/c-lang-digital-filter-optimization/

This file contains declarations of fixed-point functions that are generated automatically.
To use the fixed-point functions, copy or include this file and file fixed-point.c in your C/C++ project.
*/
#ifndef __FIXED_POINT__
#define __FIXED_POINT__

#ifdef __cplusplus
extern "C" {
#endif
#define FILTER
/* Filter I/O interval */
#define FILTER_INPUT_LENGTH 51
#define FILTER_INPUT_LOW 0
#define FILTER_INPUT_HIGH 4095
#define FILTER_INPUT_DATATYPE unsigned short
#define FIR

extern float floating_point(unsigned short x[]);

#define FIXED_POINT_FUNCTION_ARRAY_LENGTH  22
#define FILTER_OUTPUT_DATATYPE signed short
extern signed short (*fixed_point[])(unsigned short x[]);

extern float complexity[];

extern float drift[][2]; /* For testing in C++ the error interval computed in Java */

#ifdef __cplusplus
}
#endif

#endif

